<img id="floatright" src="res/autocomplete.gif" alt="Complete Menu" />
<p>
Crispy Plotter features a number of inbuilt functions, you can use in
your equations (for example <span class="example">sin(x)</span> for
calculating the trigonometric sine of the angle x). A function may have
several arguments, but always returns one value. Function arguments may
be longer expressions (for example
<span class="example">log(x,sqr(x) + 1)</span>).
</p>
<p>
If you want to insert a pre-defined function in your equation,
Crispy Plotter can aid you by showing a list of all pre-defined
functions. Therefore press <span class="key">Ctrl</span> +
<span class="key">&nbsp;&nbsp;Space&nbsp;&nbsp;</span>, when
editing a function equation.<br>
In this menu, you can select a function by clicking left or pressing
<span class="key" style="height: 16px;">
<img src="res/t.gif" title="Arrow-Up Key" /></span> or
<span class="key" style="height: 16px;">
<img src="res/b.gif" title="Arrow-Down Key" /></span> and then
<span class="key" style="height:16px;">Enter</span>.
If the text cursor was already pointing at some text,
Crispy Plotter will attempt to replace (=complete) this text with a
function starting with these characters. Otherwise, if no suitable
text could be found near the cursor, Crispy Plotter will simply insert
the function you are going to select.
</p>
<p>
The following functions are available:
</p>
<table class="fr">
<tbody>
<tr class="fr">
	<th class="fr">Function Name</th>
	<th class="fr">Description</th>
</tr>
<tr class="fr">
	<td class="fr_l">Abs(x)</td>
	<td class="fr">Returns absolute value of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">ArcCos(x)</td>
	<td class="fr">Returns the arc cosine of x,
	in the range of 0.0 through pi</td>
</tr>
<tr class="fr">
	<td class="fr_l">ArcSin(x)</td>
	<td class="fr">Returns the arc sine of x, in the range
	of -pi/2 through pi/2</td>
</tr>
<tr class="fr">
	<td class="fr_l">ArcTan(x)</td>
	<td class="fr">Returns the arc tangent of x, in the range
	of -pi/2 through pi/2</td>
</tr>
<tr class="fr">
	<td class="fr_l">ArcTan2(x, y)</td>
	<td class="fr">Returns the polar angle of rectangular coordinates
	(x, y) in the range of -pi through pi</td>
</tr>
<tr class="fr">
	<td class="fr_l">Ceil(x)</td>
	<td class="fr">Returns a value equal to the nearest integer that
	is greater than or equal to x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Clamp(x, min, max)</td>
	<td class="fr">Returns x in the range of min through max</td>
</tr>
<tr class="fr">
	<td class="fr_l">Cos(angle)</td>
	<td class="fr">Returns the trigonometric cosine of angle (angle
	in radians)</td>
</tr>
<tr class="fr">
	<td class="fr_l">Deg(x)</td>
	<td class="fr">Returns x (given in radians) in degrees</td>
</tr>
<tr class="fr">
	<td class="fr_l">Exp(x)</td>
	<td class="fr">Returns Euler's number e raised
	to the power of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Floor(x)</td>
	<td class="fr">Returns a value equal to the nearest integer that
	is less than or equal to x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Frac(x)</td>
	<td class="fr">Returns the fractional part of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Gauss(x, mu, sigma)</td>
	<td class="fr">Returns the probability density function of
	the normal distribution with mean &mu; and standard deviation
	&sigma; of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Ln(x)</td>
	<td class="fr">Returns the natural logarithm (base e) of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Log(b, x)</td>
	<td class="fr">Returns the logarithm (base b) of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Max(value1, value2)</td>
	<td class="fr">Returns the argument with the bigger value</td>
</tr>
<tr class="fr">
	<td class="fr_l">Min(value1, value2)</td>
	<td class="fr">Returns the argument with the smaller value</td>
</tr>
<tr class="fr">
	<td class="fr_l">Mix(src, dest, amount)</td>
	<td class="fr">Returns the merged value of src and dest</td>
</tr>
<tr class="fr">
	<td class="fr_l">Poly(x, c0...c20)</td>
	<td class="fr">Evaluates a uniform polynomial in the form of
	c0*x^0 + c1*x^1 + c2*x^2 +...</td>
</tr>
<tr class="fr">
	<td class="fr_l">Rad(x)</td>
	<td class="fr">Returns x (given in degrees) in radians</td>
</tr>
<tr class="fr">
	<td class="fr_l">Rand(range)</td>
	<td class="fr">Returns a pseudorandom value greater than or
	equal to 0 and less than range</td>
</tr>
<tr class="fr">
	<td class="fr_l">Round(x)</td>
	<td class="fr">Returns the rounded value of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Sign(x)</td>
	<td class="fr">Returns the sign of x (-1, 0 or 1)</td>
</tr>
<tr class="fr">
	<td class="fr_l">Sin(angle)</td>
	<td class="fr">Returns the trigonometric sine of angle
	(angle in radians)</td>
</tr>
<tr class="fr">
	<td class="fr_l">SinWav(x, f)</td>
	<td class="fr">Returns a sample of a sine wave graph with
	the frequency f at the time x in seconds</td>
</tr>
<tr class="fr">
	<td class="fr_l">SinWaves(x, f, mul, count)</td>
	<td class="fr">Returns a merged sample of count sine wave
	graphs with a frequency of [index]*mul + f</td>
</tr>
<tr class="fr">
	<td class="fr_l">SmoothStep(min, max, x)</td>
	<td class="fr">Returns 0 if x &lt; min, 1 if x &gt; max and performs
	smooth Hermite interpolation for values of x between min and max</td>
</tr>
<tr class="fr">
	<td class="fr_l">Sqr(x)</td>
	<td class="fr">Returns the square of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">Sqrt(x)</td>
	<td class="fr">Returns the square root of x</td>
</tr>
<tr class="fr">
	<td class="fr_l">SquWav(x, f)</td>
	<td class="fr">Returns a sample of a square wave graph with
	the frequency f at the time x in seconds</td>
</tr>
<tr class="fr">
	<td class="fr_l">Step(edge, x)</td>
	<td class="fr">Returns 0 if x is smaller or equal to edge,
	otherwise it returns 1</td>
</tr>
<tr class="fr">
	<td class="fr_l">Tan(angle)</td>
	<td class="fr">Returns the trigonometric tangent of angle
	(angle in radians)</td>
</tr>
<tr class="fr">
	<td class="fr_l">TriWav(x, f)</td>
	<td class="fr">Returns a sample of a triangle wave graph
	with the frequency f at the time x in seconds</td>
</tr>
<tr class="fr">
	<td class="fr_l">Trunc(x)</td>
	<td class="fr">Returns the value of x without its
	fractional part</td>
</tr>
</tbody>
</table>